package com.yanfan.energy.domain;

import java.util.List;

/**
 * @author caijinkang
 * @date 2023年04月24日 10:08
 */
public class DeviceAllotBody {
    private Long deviceId;
    private String deviceName;
    private List<SetEnergyAllocations> setEnergyAllocations;

    public DeviceAllotBody() {
    }

    public DeviceAllotBody(Long deviceId, String deviceName, List<SetEnergyAllocations> setEnergyAllocations) {
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.setEnergyAllocations = setEnergyAllocations;
    }

    @Override
    public String toString() {
        return "DeviceAllotBody{" + "deviceId=" + deviceId + ", deviceName='" + deviceName + '\'' + ", setEnergyAllocations=" + setEnergyAllocations + '}';
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public List<SetEnergyAllocations> getSetEnergyAllocations() {
        return setEnergyAllocations;
    }

    public void setSetEnergyAllocations(List<SetEnergyAllocations> setEnergyAllocations) {
        this.setEnergyAllocations = setEnergyAllocations;
    }
}
